package com.example.ai.tool;

import org.springframework.ai.tool.annotation.Tool;

public class TerminateTool {
    @Tool(description = """
         Terminate the interaction when the request is net oR if the assistant cannot processed further with the task.
         When you have finished all the tasks ,call this tool to the end the work.
         """)
    public String doTerminate() {
        return "任务结束";
    }
}
